package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考核内容对象 dw_work
 * 
 * @author ruoyi
 * @date 2024-01-19
 */
public class DwWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作Id */
    private Long workId;


    /** 部门Id */
    private Long deptId;

    /** 创建人Id */
    @Getter
    private Long creatorId;

    /** 创建人名称 */
    private String creatorName;
    /** 工作内容 */
    @Excel(name = "工作内容")
    private String workContent;

    /** 任务Id */
    @Excel(name = "任务Id")
    private Long taskId;

    private String taskName;
    /** 解决方案Id */
    @Excel(name = "解决方案Id")
    private Long taskContentId;

    private String taskContentName;
    /** 解决方案Id */
    @Excel(name = "解决方案Id")
    private BigDecimal longitude;

    /** 解决方案Id */
    @Excel(name = "解决方案Id")
    private BigDecimal latitude;

    /** 位置 */
    @Excel(name = "位置")
    private String addr;

    /** 图片 */
    @Excel(name = "图片")
    private String photoUrl;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 审核状态（0通过 1待审核 2拒绝） */
    @Excel(name = "审核状态", readConverterExp = "0=正常,1=待审核,2=拒绝")
    private String status;

    /** 审核原因 */
    private String reason;
    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkContent(String workContent) 
    {
        this.workContent = workContent;
    }

    public String getWorkContent() 
    {
        return workContent;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskContentId(Long taskContentId) 
    {
        this.taskContentId = taskContentId;
    }

    public Long getTaskContentId() 
    {
        return taskContentId;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskContentName() {
        return taskContentName;
    }

    public void setTaskContentName(String taskContentName) {
        this.taskContentName = taskContentName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workContent", getWorkContent())
            .append("taskId", getTaskId())
            .append("taskContentId", getTaskContentId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("addr", getAddr())
            .append("photoUrl", getPhotoUrl())
            .append("uploadTime", getUploadTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
